import request from "@/utils/request";

export type LoginParamsType = {
	loginName: string;
	password: string;
};

export async function accountLogin(params: LoginParamsType) {
	return request("/login", {
		method: "POST",
		data: params,
	});
}
